package com.educate.serviceedu.service;

import com.educate.serviceedu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.educate.serviceedu.entity.chapter.ChapterVo;
import com.educate.serviceedu.entity.vo.CourseInfoVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author educate.wht
 * @since 2022-08-16
 */
public interface EduChapterService extends IService<EduChapter> {


    List<ChapterVo> getChapterVideoById(String courseId);
    //删除章节
    boolean deleteChapter(String chapterId);
    //根据课程id删除章节
    void removeChapterByCourseId(String courseId);
}
